The Accordion Pane Component > FAccordionPane.setShowContent()

 

FAccordionPane.setShowContent()

Availability

Flash Player 6.

Usage

myAccordion_acp.setShowContent (showContent)

Parameters

showContent A Boolean value indicating whether content within sections should be displayed while the sections are opening and closing.

Returns


Nothing

Description

This method specifies whether content within sections should be displayed while the sections are opening and closing. True indicates that the content should be displayed, while false indicates that the content should not be displayed during the transitions.

Example

The accordion_setDataProvider.fla example file contains an example of using this method.

The following code uses setShowContent to ensure that content is displayed during section transitions.

	myAccordionpane.setShowContent(true);
	var show = myAccordionPane_acp.getShowContent();
	trace("Show: "+show);

See also

FAccordionPane.getShowContent()